Comments (3)
I'm not inclined to have such a limitation. Seeing as term_to_binary doesn't have anything like that I'm not inclined to add one here. Although, a related thing that I haven't gotten around to is to make sure and bump the reduction count. It might be a good idea to figure out something there. If you do look at that please to open a new ticket for it.
from jiffy.
It's not just about bumping reduction count, it's also about blocking the scheduler (AFAIK scheduler can't reschedule current reduction if it is in NIF). Actually I don't have this issue right now but I can suffer from it in a not so distant future, so I'm wondering what do you think about this.
from jiffy.
Right, my point is that the same exact thing affects term_to_binary/1 and binary_to_term/1. Most people are concerned about NIFs because of the stern warning in the docs, but if we compare to existing BIFs then there's no issue. If the size of JSON inputs becomes such an issue that it does have negative effects then the only real answer is to use a pure Erlang parser and take the performance hit.
from jiffy.
Related Issues (20)
- bytes_per_red option returns badarg HOT 3
- compile on erl 23.1.1 and gcc 10.2.1 HOT 1
- return_trailer and bignum handling broken HOT 2
- Encoding to List on bigger payloads (elixir) HOT 2
- Segmentation fault when building in Termux HOT 2
- solution to the error jiffy/c_src/decoder.c(4): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory HOT 3
- Upload 1.0.9 to hex.pm please HOT 1
- Not working with OTP25-rc1 HOT 2
- encode segmentation problem HOT 4
- Encoding to canonical format (via RFC 8785) HOT 1
- there is a error when windows os use HOT 2
- Issue with U+00A0 - \xa0 HOT 1
- How to compile under 24 release erlang? HOT 1
- Failed to load NIF library (OTP 22, OSX M1 chip) HOT 1
- Jiffy can't handle UTF8 atom
- Compilation of Jiffy 1.1.1 fails on Windows 11 HOT 5
- use rebar3 cannot to compile HOT 1
- cannot compile successfully HOT 1
- jiffy:decode will fail for empty binary HOT 2
- jiffy 1.1.2 tagged and released, but not published in hex.pm HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jiffy.