focus-shift/jollyday

Caching "getHolidays"

Closed this issue · 0 comments

More information

The isHoliday method features a caching implementation, meaning that when a holiday is requested, it is cached for future reference. Leveraging this caching mechanism within the getHoliday function can optimize performance, as it avoids repeating the entire code execution for every call within the classpath. Since the XML files remain static during runtime, this caching mechanism is particularly advantageous, effectively accelerating the library's operations.