Tried a performance improvement experiment, don't dare to actually use it

This commit is contained in:
Matthias Koefferlein 2025-05-17 01:00:57 +02:00
parent baed5bd822
commit 4206d7ee63
1 changed files with 4 additions and 0 deletions

View File

@ -846,6 +846,10 @@ static std::vector<std::string> split_file_list (const std::string &infile)
void read_files (db::Layout &layout, const std::string &infile, const db::LoadLayoutOptions &options)
{
// We may do this:
// db::LayoutLocker locker (&layout);
// but there are yet unknown side effects
// enter a LEF caching context for chaining multiple DEF with the same LEF
db::LoadLayoutOptions local_options (options);
local_options.set_option_by_name ("lefdef_config.lef_context_enabled", true);