unsafe bytes->immutable
Jiten Pathy <[email protected]>
| Newsgroups | gmane.comp.lang.racket.user,gmane.lisp.scheme.plt |
|---|---|
| Message-ID | <[email protected]> |
Hello, Is it possible to make immutable bytes without incurring the copy? It is useful for read-only bytes that can be used with open-input-port, which makes a copy unless it is immutable. Particular use-case : parsing part of a buffer, extracting the rest with subbytes and then using with open-input-port, makes 2 copies of the buffer. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] For more options, visit https://groups.google.com/d/optout.