Comments (3)
Just found #10 which also touches on the issue of the hidden initialization cost which resulted in the introduction of a precache-conversions
API. This didn't solve the early capturing issue but at least is some prior art in the spirit of my suggestion. However, it later got removed again without further explanation. Hm!
from byte-streams.
The main issue here could also be solved by invalidating the memo whenver new conversions are declared. However, this wouldn't also address the performance gotcha, so I decided to break it out into its own issue.
from byte-streams.
It's important to articulate the problem; is this a real concern for anyone?
The only non-toy/demo/example I found of using def-conversion
anywhere on Github was for clj-fdb, and that was for a new conversion, and in the tests.
This issue is currently theoretical afaict, and I don't think anyone should spend time on it. 😄
from byte-streams.
Related Issues (20)
- Unable to load byte-streams ns more than once HOT 11
- print-bytes calls .release ByteBuf? HOT 2
- Bytes are read from stream to String incorrectly HOT 8
- cannot compile due to No such var: p/min HOT 9
- lein uberjar fails with type hints in graph.clj HOT 12
- Use InputStream#transferTo? HOT 3
- Can't convert stream of byte arrays to seq of byte arrays HOT 1
- `closeable-seq` may end prematurely after GC? HOT 3
- Undeclared behavior for transfer {:close? true} HOT 2
- Lein javac options break on JDKs >= 12 HOT 1
- Reflection warnings in byte-streams.clj HOT 6
- "Don't know how to convert class manifold.stream.BufferedStream into class java.io.InputStream" HOT 1
- `:tag` metadata can be wrong
- Remove use of clj-tuple
- Deprecation of `byte-streams` namespace is undocumented.
- Lazy converter instantiation performance gotcha HOT 1
- Release 0.4.0? HOT 6
- Single-segment and clj-commons namespaces do not share conversion graph HOT 1
- `def-conversion` sometimes breaks when AOT-compiled HOT 5
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 byte-streams.