mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-07 10:12:51 -06:00
another optimization of Romance VP. Effect on Fre over 50% in compilation and parse speed. Somewhat smaller on Spa,Ita,Cat.
This commit is contained in:
@@ -103,10 +103,15 @@ incomplete concrete SentenceRomance of Sentence =
|
||||
|
||||
ext = vp.ext ! b ;
|
||||
|
||||
part = case vp.agr of {
|
||||
VPAgrSubj => verb ! VPart agr.g agr.n ;
|
||||
VPAgrClit g n => verb ! VPart g n
|
||||
---- VPAgr : this is where it really matters
|
||||
part = case vp.agr.p2 of {
|
||||
False => vp.agr.p1 ;
|
||||
True => verb ! VPart agr.g agr.n
|
||||
} ;
|
||||
---- part = case vp.agr of {
|
||||
---- VPAgrSubj => verb ! VPart agr.g agr.n ;
|
||||
---- VPAgrClit g n => verb ! VPart g n
|
||||
---- } ;
|
||||
|
||||
vpss : Str * Str = case <te,a> of {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user