Project

Profile

Help

Bug #6607

open

Type-checking of maps - performance issue

Added by Michael Kay 14 days ago. Updated 3 days ago.

Status:
In Progress
Priority:
Low
Assignee:
Category:
Performance
Sprint/Milestone:
-
Start date:
2024-12-08
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

Shown by QT3 test case fn-parse-json-056

In order to test whether a map conforms to the required type map(*), the code in TypeChecker.staticTypeCheck() is calling map.getItemType() which is an expensive operation as it involves examining all the entries in the map.

Please register to edit this issue

Also available in: Atom PDF