Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strokemap: optimize save_ora, get rid of protobuf library
Most of the saving time was spent inside protobuf while saving the strokemap. We now use a different binary format. Old strokemaps in existing files will be discarded. In addition, about 50% of the strokemap size and saving time was used for the brush settings. Those were saved as string with each stroke. We now save only an index in a separate brush table.
- Loading branch information
Showing
7 changed files
with
78 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,5 @@ options.cache | |
*.mo | ||
*.pot | ||
POTFILES.in | ||
lib/strokemap_pb2.py | ||
.#* | ||
*.pstats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters