Indeed, we don't need this anymore, hoelzro++
Replace foo ~~ Type with nqp::istype(foo,Type)

This is about 12x faster than the smartmatch version.  Should see noticeable
performance gains in some applications: spectest improvements are not visible
as they are still drowned out by the .15 second startup loss we suffered
lately  :-(
Make grep/-index/first/-index/last-index(:T) fastr

For the case you want to do a match on a type, as in @a.grep(Int) to grep
integers from a list.
FROGGS++ pointed out this may be a bad idea

This reverts commit f5b0bd903dcdf6c7cb44986f611a3fc2fab25999.
See also: http://irclog.perlgeek.de/perl6/2014-11-14#i_9663611
Make grep/first/last-index faster by using natives

This now actually makes (^Inf).last-index(Int) fail, rather than returning
Nil.  This seems more correct, although the error is LTA (for now).
micro-optimize prefix:<!> and not on Bool objects
Make .last-index non-lazy

There isn't much point in approaching last-index lazily, as the .elems call
will reify any finite list completely anyway.  And it will return Inf for any
infinite list.  So instead of doing a map, we just use .at_pos to check values
and return the first one found.

Note that this changes the behavior of .last-index on infinite lists from
returning Nil to returning Inf.  I guess I'm more a "glass is half full" person.
Merge branch 'nom' into newio

Conflicts:
	src/core/io_operators.pm