1 |
|
2005-02-25 David Turner <david@freetype.org> |
2 |
|
|
3 |
|
* many, many files: several memory optimizations were implemented to |
4 |
|
drastically reduce the heap usage of FreeType, especially in the case |
5 |
|
of memory-mapped files. The idea is to avoid loading and decoding tables |
6 |
|
in the heap, and instead access the raw data whenever possible (i.e. |
7 |
|
when it doesn't compromise performance). |
8 |
|
|
9 |
|
This had several impacts: first, opening vera.ttf uses a ridiculous amount |
10 |
|
of memory (when the FT_Library footprint is accounted for), until you start |
11 |
|
loading glyphs. Even then, you'll save at least 20 Kb compared to the non |
12 |
|
optimized case. performance of various operations, including open/close |
13 |
|
has also been dramatically improved. |
14 |
|
|
15 |
|
More optimisations to come. The auto-hinter eats memory like crazy? This |
16 |
|
must be stopped... |
17 |
|
|
18 |
2005-02-22 David Turner <david@freetype.org> |
2005-02-22 David Turner <david@freetype.org> |
19 |
|
|
20 |
* src/base/ftdbgmem.c: adding the ability to list all allocation sites |
* src/base/ftdbgmem.c: adding the ability to list all allocation sites |