Giter Site home page Giter Site logo

Comments (4)

bxparks avatar bxparks commented on June 16, 2024 1

Try changing the initialization of the ExtendedZoneManager from

static ExtendedZoneManager manager(
    zonedbx::kZoneRegistrySize,
    zonedbx::kZoneRegistry,
    zoneProcessorCache);

to

static ExtendedZoneManager manager(
    zonedbx::kZoneAndLinkRegistrySize,
    zonedbx::kZoneAndLinkRegistry,
    zoneProcessorCache);

The IANA TZ database continues to merge zones and convert previously Zone entries into Link entries. The zonedbx::kZoneRegistry registry contains only Zone entries.

If this solution works, we should update that example to use the kZoneAndLinkRegistry. But adding the Link entries does increase the size of the database, from about 40kB to 49kB for an ESP8266 according to https://github.com/bxparks/AceTime/tree/develop/examples/MemoryBenchmark#esp8266.

If this doesn't work, I'll have to dig deeper.

from acetime.

rvdbreemen avatar rvdbreemen commented on June 16, 2024

I have been playing around, but it seems that more entries can't be looked up anymore, like:

Europe/Oslo
Europe/Stockholm
etc.

from acetime.

rvdbreemen avatar rvdbreemen commented on June 16, 2024

Hi Brian,
Yes, this works. Then the example needs to be updated then. The size growth should not be an issue I think in my situation on the ESP.

Thanks for your amazing support and wonderful work on this library,
Keep up the great work,
Robert

from acetime.

bxparks avatar bxparks commented on June 16, 2024

Glad that fixes it for you

from acetime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.