소스 검색

Refactor FLEXResources.m

Previously, almost every image was an array of bytes on a single line. When most or all of the images fit into the editor, this causes the editor to page the entire (massive) file into memory.

This commit splits each massive line up into lines of 16 bytes, so that the entire file is never loaded at once. This makes opening and editing the file much faster—it used to take almost 10 seconds on a 2019 MacBook Pro.
Tanner Bennett 6 년 전
부모
커밋
f43b438be0
1개의 변경된 파일5258개의 추가작업 그리고 43개의 파일을 삭제
  1. 5258 43
      Classes/Utility/FLEXResources.m

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 5258 - 43
Classes/Utility/FLEXResources.m