mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-16 08:17:00 +02:00
sounds like word salad but let me say: - std::map<> created a static ctor for EVERY SINGLE ZONEINFO - fuck that, instead lets just use a raw array and construct things statically - works the same except with less baggage carried around (+ less heap allocations!!!) this should help reduce codesize due to the aforementioned global ctor/dtor Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3919 Reviewed-by: crueter <crueter@eden-emu.dev>
18 lines
282 B
C
18 lines
282 B
C
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <map>
|
|
#include <vector>
|
|
|
|
namespace NxTzdb {
|
|
|
|
// @DIRECTORY_NAME@
|
|
|
|
// clang-format off
|
|
@FILE_DATA@
|
|
// clang-format on
|
|
|
|
} // namespace NxTzdb
|