[PR #113] [MERGED] Optimize tagDB and reduce RAM usage #3731

Closed
opened 2026-03-20 23:08:02 +01:00 by sascha_hemi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/OpenEPaperLink/OpenEPaperLink/pull/113
Author: @enwi
Created: 8/12/2023
Status: Merged
Merged: 8/17/2023
Merged by: @nlimper

Base: masterHead: esp32_ap


📝 Commits (8)

  • bdf6279 Reduce code size by removing nullptr assignments
  • 8602049 Optimize tagDB for loops
  • 296068e More tagDB optimizations
  • 3fc147b Remove static from language arrays reducing RAM by 5128b
  • 1a6f45c Add missing extern in tag_db.h
  • 9287343 Fix deprecation warning of sntp.h
  • 5d711ed Remove static from contentmanager, reduces RAM by 184b
  • 7909752 Use string reference in prepareDataAvail

📊 Changes

13 files changed (+188 additions, -206 deletions)

View changed files

📝 ESP32_AP-Flasher/include/contentmanager.h (+1 -1)
📝 ESP32_AP-Flasher/include/language.h (+17 -17)
📝 ESP32_AP-Flasher/include/newproto.h (+1 -1)
📝 ESP32_AP-Flasher/include/tag_db.h (+15 -15)
📝 ESP32_AP-Flasher/src/contentmanager.cpp (+14 -14)
📝 ESP32_AP-Flasher/src/ips_display.cpp (+3 -5)
📝 ESP32_AP-Flasher/src/language.cpp (+26 -0)
📝 ESP32_AP-Flasher/src/newproto.cpp (+39 -59)
📝 ESP32_AP-Flasher/src/serialap.cpp (+21 -21)
📝 ESP32_AP-Flasher/src/system.cpp (+1 -1)
📝 ESP32_AP-Flasher/src/tag_db.cpp (+42 -58)
📝 ESP32_AP-Flasher/src/web.cpp (+6 -12)
📝 ESP32_AP-Flasher/src/wifimanager.cpp (+2 -2)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/OpenEPaperLink/OpenEPaperLink/pull/113 **Author:** [@enwi](https://github.com/enwi) **Created:** 8/12/2023 **Status:** ✅ Merged **Merged:** 8/17/2023 **Merged by:** [@nlimper](https://github.com/nlimper) **Base:** `master` ← **Head:** `esp32_ap` --- ### 📝 Commits (8) - [`bdf6279`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/bdf6279ce8b89eb3e6c6f1bd2dac76fb5ef91772) Reduce code size by removing nullptr assignments - [`8602049`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/86020497f50eab56d11c9068e07691695c1fd17b) Optimize tagDB for loops - [`296068e`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/296068ee457d52156e00ef291121ef4c62ce4386) More tagDB optimizations - [`3fc147b`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/3fc147babe669b4b15e0044702b63bed6e7a4f3d) Remove static from language arrays reducing RAM by 5128b - [`1a6f45c`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/1a6f45c17ed6122dd7e69a74327e210178e9500b) Add missing extern in tag_db.h - [`9287343`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/92873431fff9192c7ee164ae613947fa1db0dea1) Fix deprecation warning of sntp.h - [`5d711ed`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/5d711ed8f298ab757a12f88efaf8b0d87ecd03df) Remove static from contentmanager, reduces RAM by 184b - [`7909752`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/790975272757ec8339f97dd13726ae518dcbb665) Use string reference in prepareDataAvail ### 📊 Changes **13 files changed** (+188 additions, -206 deletions) <details> <summary>View changed files</summary> 📝 `ESP32_AP-Flasher/include/contentmanager.h` (+1 -1) 📝 `ESP32_AP-Flasher/include/language.h` (+17 -17) 📝 `ESP32_AP-Flasher/include/newproto.h` (+1 -1) 📝 `ESP32_AP-Flasher/include/tag_db.h` (+15 -15) 📝 `ESP32_AP-Flasher/src/contentmanager.cpp` (+14 -14) 📝 `ESP32_AP-Flasher/src/ips_display.cpp` (+3 -5) 📝 `ESP32_AP-Flasher/src/language.cpp` (+26 -0) 📝 `ESP32_AP-Flasher/src/newproto.cpp` (+39 -59) 📝 `ESP32_AP-Flasher/src/serialap.cpp` (+21 -21) 📝 `ESP32_AP-Flasher/src/system.cpp` (+1 -1) 📝 `ESP32_AP-Flasher/src/tag_db.cpp` (+42 -58) 📝 `ESP32_AP-Flasher/src/web.cpp` (+6 -12) 📝 `ESP32_AP-Flasher/src/wifimanager.cpp` (+2 -2) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
sascha_hemi added the pull-request label 2026-03-20 23:08:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#3731