antirez / antirez/lua-cmsgpack

Support reading from FILE*

Offen
#14 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
383
Forks
122
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have a large chunk of data in a file, encoded with msgpack, and I want to load it to Lua.

I do not want to pay for overhead of interning this file as a string into Lua state. Instead I want a lua-cmsgpack call that would load my data from file directly.

Is it possible?

I realize that this is somewhat a corner case for lua-cmsgpack, as it is persistence and not message passing, but anyway — would be quite useful.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.