Sergey Tatarintsev
eeb6e2db17
Improve memory consumption of file middleware
...
Buffers.concat creates a new buffer. On a large project, when using resolver
cache and pack store, total size of buffer can reach hundreds of megabytes. Use
streaming write instead.
2019-01-14 19:20:28 +01:00
Tobias Koppers
44663f8c67
allow serializing of objects with null prototype
2018-12-25 22:08:35 +01:00
Tobias Koppers
d9238f061d
memorize lazy data on access
...
remove need for read on write
add queue for file accesses in FileMiddleware to support concurrent access
2018-12-21 12:05:29 +01:00
Tobias Koppers
aedc34b76d
load internal serializers internally
...
allows to bundle webpack
2018-12-20 11:04:31 +01:00
Florent Cailhol
0d7889faab
Remove unneeded intermediate objects
2018-11-02 11:57:42 +01:00
Tobias Koppers
b1073349eb
reorder maps to make binary encoding more efficient
2018-10-30 09:54:47 +01:00
Tobias Koppers
590772b934
add packed store mode
2018-10-30 09:54:40 +01:00
Tobias Koppers
c46d89b02d
serialize JS Errors
2018-10-25 10:52:33 +02:00
Michael Ciniawsky
f7df43d080
feat(ErrorObjectSerializer): make `{Error}` serializable
2018-10-25 10:52:32 +02:00
Tobias Koppers
4b69df1117
allow to make classes not-serializable
...
make ContextModule not-serializable because it's not needed
2018-10-18 15:52:22 +02:00
Tobias Koppers
06cd79f17f
add serializer for RegExp
2018-10-18 12:44:38 +02:00
Tobias Koppers
7786a6a0ed
fix serializing of Buffers
2018-10-17 22:16:15 +02:00
Tobias Koppers
b93ba710df
add error for circular references while serializing
2018-10-17 21:25:46 +02:00
Tobias Koppers
2cfbea35bc
fix bug with too long short strings
2018-10-17 21:25:41 +02:00
Tobias Koppers
a9554a70e6
skip reference for empty strings
2018-10-17 21:25:40 +02:00
Tobias Koppers
e1adc52745
improve length of emitted cache files
2018-10-17 21:25:40 +02:00
Tobias Koppers
a852828279
add persistent caching prototype
2018-10-17 21:25:39 +02:00