search for: ignore_bytecod

Displaying 2 results from an estimated 2 matches for "ignore_bytecod".

Did you mean: ignore_bytecode
2016 May 20
2
identical on closures
...ly the formals and body are identical? case CLOSXP: return(R_compute_identical(FORMALS(x), FORMALS(y), flags) && R_compute_identical(BODY_EXPR(x), BODY_EXPR(y), flags) && (IGNORE_ENV || CLOENV(x) == CLOENV(y) ? TRUE : FALSE) && (IGNORE_BYTECODE || R_compute_identical(BODY(x), BODY(y), flags)) ); R-3.2.4, Mac OS X El Capitan Thanks Mick Jordan
2016 May 20
2
identical on closures
...>> case CLOSXP: >> return(R_compute_identical(FORMALS(x), FORMALS(y), flags) && >> R_compute_identical(BODY_EXPR(x), BODY_EXPR(y), flags) && >> (IGNORE_ENV || CLOENV(x) == CLOENV(y) ? TRUE : FALSE) && >> (IGNORE_BYTECODE || R_compute_identical(BODY(x), BODY(y), >> flags)) >> ); >> >> R-3.2.4, Mac OS X El Capitan >> > Ok, I figured it out, but this is VERY unintuitive IMHO: > > > identical(attributes(function() {}), attributes(function() {})) > [1] FALSE >...